NAME		=		304Pacman

SRC			=		main.cpp	\
					File.cpp	\
					Graphics.cpp	\
					Algo.cpp

OBJ			=		$(SRC:.cpp=.o)

INC			=		-lsfml-window -lsfml-graphics -lsfml-system

ECHO		=		echo -e

all			:		$(NAME)

$(NAME)		:		$(OBJ)
					g++ $(OBJ) -o $(NAME) $(INC)
					@$(ECHO) '\033[0;32m> 304Pacman Compiled\033[0m'

clean		:		
					rm -f $(OBJ)
					@$(ECHO) '\033[0;36m> Object files removed\033[0m'

fclean		:		clean
					rm -f $(NAME)
					@$(ECHO) '\033[0;36m> Binary files removed\033[0m'

re			:		fclean all 